package com.zjbbkj.baibai.netty.message.sendpackage;

import com.zjbbkj.baibai.common.utils.wanli.SessionIdGeneratorUtils;
import lombok.extern.slf4j.Slf4j;
import static com.zjbbkj.baibai.netty.constants.NettySomeThing.*;

@Slf4j
public class ORE {

    /**  预约返回
     * @return
     */
    public static String ORE_DEVICE(){
        try{
            String type = "ORE";
            String random = SessionIdGeneratorUtils.getRandomStrID();
            String cmd = START + NUM + type + random + "/" + "1" + "\r\n";
            cmd = START + "0" + cmd.length() + type + random + "/" + "1" + "\r\n";
            return cmd;
        }catch (Exception e){
            log.info(e.getMessage());
            return "null";
        }
    }
}
